package com.quectel.sdk.officialaccounts.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 微信消息
 *
 * @author: caolu
 * @email: louis.cao@quectel.com
 * @date: 2022-05-12 16:05:00
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WechatMsgPushVo {
    /**
     * 微信获取到openId
     */
    private String toUser;
    /**
     * 模板id
     */
    private String templateId;

    /**
     * 跳转连接
     */
    private String linkUrl;

    /**
     * title:xx
     * content:xxx
     * user:xxx
     */
    private Map<String, String> params;
}


/**
 * {
 * <p>
 * "touser":"OPENID",
 * <p>
 * "template_id":"ngqIpbwh8bUfcSsECmogfXcV14J0tQlEpBO27izEYtY",
 * "url":"http://weixin.qq.com/download",
 * <p>
 * "topcolor":"#FF0000",
 * <p>
 * "data":{
 * <p>
 * "User": {
 * <p>
 * "value":"黄先生",
 * <p>
 * "color":"#173177"
 * <p>
 * },
 * <p>
 * "Date":{
 * <p>
 * "value":"06月07日 19时24分",
 * <p>
 * "color":"#173177"
 * <p>
 * },
 * <p>
 * "CardNumber": {
 * <p>
 * "value":"0426",
 * <p>
 * "color":"#173177"
 * <p>
 * },
 * <p>
 * "Type":{
 * <p>
 * "value":"消费",
 * <p>
 * "color":"#173177"
 * <p>
 * },
 * <p>
 * "Money":{
 * <p>
 * "value":"人民币260.00元",
 * <p>
 * "color":"#173177"
 * <p>
 * },
 * <p>
 * "DeadTime":{
 * <p>
 * "value":"06月07日19时24分",
 * <p>
 * "color":"#173177"
 * <p>
 * },
 * <p>
 * "Left":{
 * <p>
 * "value":"6504.09",
 * <p>
 * "color":"#173177"
 * <p>
 * }
 * <p>
 * }
 * <p>
 * }
 */